<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
	function loginout() {
		var flag = confirm("是否确定退出？");
		if(flag){
			location.href="${pageContext.request.contextPath}/user/loginout";
		}
	}
</script>

</head>
<body>
	用户ID：${user.userId }
	&nbsp;&nbsp;&nbsp;&nbsp;
	当前用户：${user.userName }
	&nbsp;&nbsp;&nbsp;&nbsp;
	<a href="${pageContext.request.contextPath}/pwdedit.jsp" target=main><font color=red>修改密码</font></a>
	&nbsp;&nbsp;&nbsp;&nbsp;
	<!-- javascript:void(0)使href属性失效 -->
	<a href="javascript:void(0)" onclick="loginout()" target=_top><font color=red>安全退出</font></a>
</body>
</html>